x86: use 'dom0_mem' to limit the number of pages for dom0
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 22 Aug 2011 09:05:27 +0000 (10:05 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 22 Aug 2011 09:05:27 +0000 (10:05 +0100)
commitae8f370c14acf1c326a5e0ab8c505414600ff3c0
tree1e1b80cb32cc97bb66a934c316a8d359380d7e88
parent1db50df4870b5672b3fd5688cb8e6b9c1523f7c2
x86: use 'dom0_mem' to limit the number of pages for dom0

Use the 'dom0_mem' command line option to set the maximum number of
pages for dom0.  dom0 can use then use the XENMEM_maximum_reservation
memory op to automatically find this limit and reduce the size of any
page tables etc.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
xen/arch/x86/domain_build.c